#ifndef _FACECHANGE_H_
#define _FACECHANGE_H_

#include "cocos2d.h"
#include "cocos/editor-support/cocostudio/CocoStudio.h"
#include "cocos/ui/CocosGUI.h"

USING_NS_CC;
using namespace ui;
enum FaceChangeEnum
{
	Enum_FaceBack,
	Enum_FaceOk,
};
class FaceChange : public Layer
{
	ui::Widget*     m_uiwidget;
	ImageView*		m_FaceBg;
// 	ui::Button*		m_btnFace[9];
	ui::ImageView*	m_btnFace[21];
	ui::Button*     m_FaceBack;
	ui::Button*     m_FaceOk;
	ui::ListView*	m_FaceList;
	std::int16_t	m_wFaceID;
public:
	FaceChange(void);
	~FaceChange(void);
	virtual bool init();
	CREATE_FUNC(FaceChange);
private:
	void onBtnCallback(Ref* sender, TouchEventType type);
	void onBtnFace(Ref* sender, TouchEventType type);
};


#endif //_OPTIONS_H_
